package lbsproject.processaudit.misc;

import java.util.Date;
import java.util.List;

import lbsproject.processaudit.model.enumeration.TaskLevel;
import lbsproject.processaudit.model.enumeration.TaskStatus;
import lbsproject.processaudit.model.enumeration.TaskType;

public class SerializableRepairTask extends SerializableTask {

	/**
	 * 
	 */
	private static final long	serialVersionUID	= 1L;

	private List<SerializableTaskRecord> taskRecords = null;

	public SerializableRepairTask( String taskId, TaskType taskType,
			String title, TaskLevel rating, TaskStatus status, Date createDate,
			Date finishDate ) {
		super( taskId, taskType, title, rating, status, createDate, finishDate );
	}

	public void addTaskRecord( SerializableTaskRecord str ) {
		taskRecords.add( str );
	}

	public List<SerializableTaskRecord> getTaskRecords() {
		return taskRecords;
	}

	public void setTaskRecords( List<SerializableTaskRecord> taskRecords ) {
		this.taskRecords = taskRecords;
	}

}
